package org.example.zuul;

import org.example.zuul.filter.ZuulProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

@EnableConfigurationProperties({ ZuulProperties.class })
@SpringBootApplication
public class ZuulBootApplication {
    private static final Logger LOGGER = LoggerFactory.getLogger(ZuulBootApplication.class);
    public static void main(String[] args) {
        LOGGER.info("zuul starting...");
        SpringApplication.run(ZuulBootApplication.class, args);
    }
}
